package main

import (
	"goway/app/photo/handlers"
	"net/http"
)

func main() {
	http.HandleFunc("/",handlers.IndexView)
	http.HandleFunc("/index",handlers.IndexView)
	http.HandleFunc("/upload",handlers.Upload)
	http.HandleFunc("/detail",handlers.DetailView)
	http.HandleFunc("/image",handlers.ImageView)
	http.HandleFunc("/list",handlers.ListView)
	http.ListenAndServe(":8888",nil)
}
